package com.bac.javabeans;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 聚优金账户
 */

public class WealthAccount implements Serializable{
	private static final long serialVersionUID = -4633661547344663075L;

	private Long id;

	private BigDecimal balance = BigDecimal.ZERO;

	private BigDecimal accumulatedIncome = BigDecimal.ZERO;

	private BigDecimal latestProfit = BigDecimal.ZERO;

	private String openingDate;

	public WealthAccount() {
	}


	public Long getId()
	{
		return id;
	}
	
	public void setId(Long id)
	{
		this.id = id;
	}
	
	/**
	 * 余额
	 * 
	 * @return 余额
	 */
	public BigDecimal getBalance() {
		return balance;
	}

	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}

	/**
	 * 累计收益
	 * 
	 * @return 累计收益
	 */
	public BigDecimal getAccumulatedIncome() {
		return accumulatedIncome;
	}

	public void setAccumulatedIncome(BigDecimal accumulatedIncome) {
		this.accumulatedIncome = accumulatedIncome;
	}

	/**
	 * 昨日收益
	 * 
	 * @return 收益
	 */
	public BigDecimal getLatestProfit() {
		return latestProfit;
	}

	public void setLatestProfit(BigDecimal latestProfit) {
		this.latestProfit = latestProfit;
	}

	/**
	 * 开户时间
	 * 
	 * @return 开户时间
	 */
	public String getOpeningDate() {
		return openingDate;
	}

	public void setOpeningDate(String openingDate) {
		this.openingDate = openingDate;
	}

}
